<template>
  <div id="app">
    <Header/>
    <type-nav></type-nav>
    <router-view></router-view>
    <Footer v-show="$route.meta.isShowFooter"></Footer>
  </div>
</template>

<style>
</style>

<script>

import Header from '@/components/Header';
import Footer from '@/components/Footer';



export default {
  components:{
    Header,
    Footer,
  },
  mounted() {
    // 派发actions，获取三级联动组件的数据
    this.$store.dispatch("getCategoryList")
  },
}
</script>